package com.briercliffe.settlers.core.domain;

/**
 * User: briercliffe
 * Date: 10/9/13
 */
public class Village extends Settlement
{
    // ==================================================
    // class static data
    // ==================================================
    public static final double RESOURCE_MULTIPLIER = 1.0;
    // ==================================================
    // class static methods
    // ==================================================

    // ==================================================
    // instance data
    // ==================================================

    // ==================================================
    // factories
    // ==================================================

    // ==================================================
    // constructors
    // ==================================================

    // ==================================================
    // public methods
    // ==================================================

    @Override
    public boolean canUpgrade()
    {
        return true;
    }

    @Override
    public Settlement upgrade()
    {
        City city = new City();
        city.setOwner(getOwner());
        return city;
    }

    @Override
    public double getResourceMultiplier()
    {
        return RESOURCE_MULTIPLIER;
    }

    // ==================================================
    // non public methods
    // ==================================================

    // ==================================================
    // getters / setters
    // ==================================================
}
